package com.spider.moudle.api.realize;

import com.spider.moudle.api.Downloader;
import com.spider.moudle.entity.Area;
import com.spider.moudle.entity.SpeechBean;
import com.spider.moudle.factory.DownloaderFactory;

import java.util.List;
import java.util.concurrent.Callable;

/**
 * Created by Linbo Hu on 2017/12/19.
 * 爬回复的线程
 */
public abstract class AbstractReplyCrawler implements Callable<List<SpeechBean>> {

    /**
     * 下载器
     */
    protected Downloader downloader = DownloaderFactory.buildDownloader();

    /**
     * url
     */
    protected String url;

    /**
     * 地区
     */
    protected Area area;
    /**
     * parent_id
     */
    protected String parentId;

    /**
     * ancestor_id
     */
    protected String ancestorId;
}
